/**
 * 
 */
package com.gr.experimental.model.impl;

/**
 * Binds an object with an integer number.
 * @author Karol Banczyk
 *
 * @param <E> identifies the type of the object.
 */
public class ObjectCount<E> {
	
	private E object;
	private int count;
	
	public ObjectCount(E object, int count) {
		super();
		this.object = object;
		this.count = count;
	}
	
	public E getObject() {
		return object;
	}
	public void setObject(E object) {
		this.object = object;
	}
	public int getCount() {
		return count;
	}
	public void setCount(int count) {
		this.count = count;
	}
}